/* $Id: ProcessStepAttachmentDelegateImpl.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  			Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 *
 */
package ae.pcfc.etks.online.common.delegate.provider;

import ae.pcfc.etks.online.common.delegate.ProcessStepAttachmentDelegate;
import ae.pcfc.etks.online.common.facade.ProcessStepAttachmentFacade;
import ae.pcfc.etks.online.common.vo.UploadDocumentVO;

public class ProcessStepAttachmentDelegateImpl extends BaseDelegateImpl implements ProcessStepAttachmentDelegate {
    	/*
	 * Here we coordinate between the Facade service which handles DB entities
	 * and the WF both will be looked up with service locator normally we will
	 * have 1-1 relationship between the delegate and the facade and 1-1
	 * relationship between the delegate and the WF service which means for
	 * CompanyRegistrationDelegate there will be ClientRegistrationFacade &
	 * CompanyRegistrationWF validations that related to DB vs WF are maintained
	 * here ie user cannot issue a new request while he already have a request
	 * in the wf Exception are translated in to business exception
	 */
	/**
	 * findProcessStepAttachmentByPrimaryKey
	 * 
	 * @see ae.pcfc.etks.online.common.delegate.ProcessStepAttachmentDelegate#findProcessStepAttachmentByPrimaryKey(java.lang.Long)
	 * 
	 */
	public UploadDocumentVO findProcessStepAttachmentByPrimaryKey(Long id) {

		return serviceLocator.getFacadeService(ProcessStepAttachmentFacade.class).findProcessStepAttachmentByPrimaryKey(id);
	}

}
